import java.util.Arrays;
import java.util.Stack;

、/*public class Minstack {
    public Stack<Integer> a;
    public Stack<Integer>b;
    public Minstack()
    {
        a=new Stack<>();
        b=new Stack<>();
    }


    public void push(int val)
    {
        a.push(val);
        if(b.empty()) {
          ;
            b.push(val);
        }
        if(val<=b.peek())
        {
            b.push(val);
        }








    }
    public void pop()
    {
        if(!a.empty())
        {
            int x=a.pop();
            if(x==b.peek())
            {
                b.pop();
            }
        }




    }
    public int top()
    {
        if(!a.empty())
        {
            return a.peek();
        }
        return -1;

    }
    public int getMin()
    {
       return b.peek();


    }


}
*/
